home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / wordproc / wf_v31c.arj / DOCS / WF.018 < prev    next >
Text File  |  1992-01-31  |  14KB  |  356 lines

  1. .f3                              - # -              Chapter 18 - Columns & Tables
  2. .rm70
  3. .tc
  4. .tc 18. COLUMNS, TABLES & SNAKING COLUMNS .................#
  5. CHAPTER 18   COLUMNS, TABLES & SNAKING COLUMNS
  6.  
  7. .imColumns
  8. .imTables
  9. .imNewspaper Columns
  10. There are three methods of printing text in columnar format. These
  11. are:-
  12.  
  13.   ■ Multiple columns
  14.   ■ Tables
  15.   ■ Snaking columns or Newspaper columns
  16.  
  17. You would use the different methods depending upon the effects you
  18. wish to achieve on the printed page.
  19.  
  20. Multiple Columns and Tables will display several columns of text on
  21. the screen, while Snaking Columns only displays one column on the
  22. screen.
  23.  
  24. .Tc    Multiple Columns ...................................#
  25. Multiple Columns
  26.  
  27. .ixColumns;   Multiple Columns
  28. These display on screen, and are used when each column is independent
  29. of the other. Text that runs off the bottom of the page will start
  30. again on the next page in the same column. Each column will wrap text
  31. independently of the other columns.
  32.  
  33. .Tc       Activating ......................................#
  34. Activating
  35.  
  36. For Multiple columns to be active, you MUST have column mode turned
  37. ON. You do this by pressing Ctrl K N or from the Format Options sub
  38. menu of the Options menu (F10 O F C)
  39.  
  40. .Tc       Defining ........................................#
  41. Defining
  42.  
  43. Multiple Columns are indicated in the ruler line by < for the left
  44. margin and > for the right margin or ] for the right justified margin.
  45. When Word Wrap is active, text will wrap to stay within the margins
  46. (both left and right). A column is independent of any other columns,
  47. so text in a column will wrap downwards into blank lines in the
  48. column. If no blank lines are available, a blank line will be inserted
  49. at the end of the column to absorb the overflow. Each column may also
  50. have its own wrap margin, where text will wrap to.
  51.  
  52. For example, the ruler line below defines three columns of different
  53. widths. The ^ sign indicates the wrap margin for column 3 is different
  54. from the left margin for that column.
  55.  
  56.    .RR     <          >   <         >     <  ^              >
  57.  
  58.            this text is   this is         this is the third
  59.            in column      column 2           column, and text
  60.            one, and is                       will wrap
  61.            not related    the text           according to the
  62.            to any other   will wrap          W margin
  63.            column         if it does
  64.                           not fit
  65.    .RRL       !       !       !       !       !       !       R
  66.  
  67. You will note that each column has entries that end independently of
  68. each other. Wrapping slides the text in one column up and down without
  69. regard to the contents of other columns.
  70.  
  71. Multiple Columns are only active if Word Wrap is active, as well as
  72. Column Mode or Column replace mode. You need to turn off the columns
  73. when you have finished with them by placing your standard ruler line
  74. after them, and also manually turning off column mode.
  75.  
  76. .Tc    Tables .............................................#
  77. Tables
  78. .ixTables;Tables
  79.  
  80. Tables display on screen, and are used when each column is dependent
  81. upon the others. That is, data in one column must line up with that in
  82. the others.
  83.  
  84. .Tc       Activating ......................................#
  85. Activating
  86.  
  87. For Tables to be active, you MUST have column mode turned ON. You do
  88. this by pressing Ctrl K N or from the Format Options sub menu of the
  89. Options menu (F10 O F C)
  90.  
  91. .Tc       Defining ........................................#
  92. Defining
  93.  
  94. Tables are delimited in the ruler line by { for the left margin and
  95. either } or > for the right margin, or ] for the right justified
  96. margin. The columns of a table are terminated by a blank line. When a
  97. column of a table is wrapped, blank lines are inserted at the end of
  98. the table entry. This means that a blank line is looked for, or a dot
  99. command line, and blank lines are inserted before this line. This
  100. means that adjacent columns never have blank lines inserted in the
  101. middle.
  102.  
  103. For example, the ruler line below defines a table consisting of three
  104. columns of different widths. The ^ sign indicates the wrap margin for
  105. column 3 is different from the left margin for that column.
  106.  
  107.    .RR     {          }   {         }     {  ^              }
  108.            This is text   this is         this text is column
  109.            for the        text for           3 entry 1
  110.            first column   entry 1
  111.            of the table   column 2,
  112.                           and inserts
  113.                           lines
  114.                           before the
  115.                           next entry
  116.                                          ───── this is the end of the entry
  117.            This text      this text
  118.            belongs to     is for the
  119.            the second     second entry
  120.            entry for
  121.            the first
  122.            column of
  123.            the table
  124.  
  125.    .RRL       !       !       !       !       !       !       R
  126.  
  127.  
  128. You will note that a table has entries in adjacent columns, and the
  129. end of the entry has a blank line across the entire table. Wrapping
  130. slides the contents of one column up and down as required, but never
  131. pushes the text down below the blank line, instead inserting new lines
  132. before it as required to absorb the overflow of the column. Text that
  133. overflows the bottom of a page continues on the next page in the same
  134. column.
  135.  
  136. .Tc    Snaking Columns of Text ............................#
  137. Snaking Columns of Text
  138. .ixNewspaper Columns;
  139. .ixSnaking Columns;
  140.  
  141. These are also known as newspaper columns, because when the text in
  142. one column overflows the bottom of the page, it wraps around to the
  143. top of the next column in the same page. Only when all columns on a
  144. page are full does the overflow then wrap to the first column of the
  145. next page.
  146.  
  147. You do not turn on column mode for this to be effective, but instead
  148. mark newspaper columns by the use of dot commands:
  149.  
  150. .ixDot Commands;  .CO - Start newspaper columns
  151. .ixDot Commands;  .CC - Conditional column break
  152. .ixDot Commands;  .CB - Column break
  153. .ixDot Commands;  .CW - Character width
  154. .ixSnaking Columns;  .CO - Start newspaper columns
  155. .ixSnaking Columns;  .CC - Conditional column break
  156. .ixSnaking Columns;  .CB - Column break
  157. .ixSnaking Columns;  .CW - Character width
  158. .ixNewspaper Columns;  .CO - Start newspaper columns
  159. .ixNewspaper Columns;  .CC - Conditional column break
  160. .ixNewspaper Columns;  .CB - Column break
  161. .ixNewspaper Columns;  .CW - Character width
  162. .ixNewspaper Columns;
  163. .ixSnaking Columns;
  164. .ixCharacter Width;Character Width (.CW)
  165.         .CO n,g / w,w,w ...       - start of snaking columns
  166.            where
  167.                n = number of columns
  168.                g = width of the column gutter
  169.                w = width for each column. This is optional.
  170.                    default column width is 35 characters
  171.  
  172.         .CB  column break (like .PA) start a new column
  173.  
  174.         .CC n
  175.            conditional column break (like .CP) if less than n lines
  176.            remain in this column
  177.  
  178.         .CW r.r                  - character width
  179.     or  .CW n
  180.          where
  181.            r.r is a real number (must have a decimal point) and is the
  182.                character width ratio to normal (eg 2.0 means twice
  183.                normal width)
  184.  
  185.            n   is an integer (no decimal point) and means character
  186.                width in 1/120 of an inch (the Word star default)
  187.  
  188. .tc       Start Snaking Columns ...........................#
  189.   Start Snaking Columns
  190.  
  191.   For this you use the .CO command to set the number of columns, the
  192.   "gutter" width between them, and optionally the width of each
  193.   column.
  194.  
  195.         .CO 2  5 
  196.            where
  197.                number of columns = 2
  198.                number of characters between columns = 5
  199.                default column width is 35 characters for each column.
  200.  
  201.    For example, the index to this manual is printed in 2 column format
  202.    as specified above.
  203.  
  204.    If you want to have different column widths, you should follow the
  205.    .CO command with a slash / and the column widths:
  206.  
  207.         .CO  3  5 / 30 20 25
  208.  
  209.   will set up 3 snaking columns of widths 30 characters, 20 characters
  210.   and 25 characters.
  211.  
  212.         .CO  2  5 / 30 30   
  213.  
  214.   will set up 2 columns of 30 characters. If you over-ride one column
  215.   width, you should over-ride all column widths.
  216.  
  217.   NOTE - It is your responsibility to ensure that text does not exceed
  218.          the limits you set.
  219.  
  220. .tc       Set Up an Appropriate Ruler .....................#
  221. .ixNewspaper Columns;
  222. .ixSnaking Columns;
  223.   Set Up an Appropriate Ruler
  224.  
  225.   You should set up a ruler line at the start of your snaking columns
  226.   that sets the appropriate margins for one column:
  227.  
  228.     .RRL      !        !        R
  229.  
  230.    to set up text that will wrap within the 30 column format.
  231.  
  232. .tc       End Snaking Columns .............................#
  233.   End Snaking Columns
  234.  
  235.   You end snaking columns by inserting another .CO command with the
  236.   number of columns set to 1 or 0.
  237.  
  238.         For example
  239.         .CO
  240.     or  .CO 1
  241.  
  242.   will terminate snaking columns.
  243.  
  244.   You should also restore the ruler that was active before the snaking
  245.   columns, so that the non columnar text will wrap appropriately.
  246.   Naturally, you only need to do this if you intend to follow the
  247.   columns of text with normal text.
  248.  
  249. .tc       The Column Break ................................#
  250.   The Column Break
  251.  
  252.   Just as in ordinary text, you may want to ensure that certain
  253.   lines appear together, so too in columnar text you may also want to
  254.   ensure that lines appear together. There are 2 commands that cause
  255.   one column to be terminated and a new one started:
  256.  
  257.  
  258.         .CB  column break (like .PA) start a new column
  259.  
  260.         .CC n
  261.            conditional column break (like .CP) if less than n lines
  262.            remain in this column
  263.  
  264.   The standard column break .CB always starts at the top of a new
  265.   column. That may be on the same page or it may be on a new page,
  266.   depending on whether there was another empty column available on the
  267.   current page. If you need to start at the top of a new page you
  268.   should use the .PA command instead.
  269.  
  270.   The conditional column break .CC will start a new column if there
  271.   are less than n lines remaining within the current column. Use this
  272.   command for "Widow and Orphan" control, to ensure that the first
  273.   line of a paragraph does not appear by itself in the preceding
  274.   column, or that the last line does not appear by itself in the
  275.   following column.
  276.  
  277. .CP6
  278. .tc       Changing the width of Characters ................#
  279. .ixNewspaper Columns;
  280. .ixSnaking Columns;
  281.   Changing the width of Characters
  282.  
  283.   If you use font commands within your columns that change the width
  284.   of the text, you need to inform Word Fugue that the width has
  285.   changed, otherwise the columns will not line up properly. Word Fugue
  286.   needs to insert extra space characters if the width is less than normal,
  287.   and remove blanks if the width is more.
  288.  
  289.   You can specify the changed width either as a decimal number that is
  290.   a multiplier of normal width, or you can specify the new width in
  291.   1/120 ths inch (the Wordstar default).
  292.  
  293.         .CW r.r
  294.     or  .CW n
  295.          where
  296.            r.r is a real number (must have a decimal point) and is the
  297.                character width ratio to normal (eg 2.0 means twice
  298.                normal width, while 0.5 means half normal width)
  299.  
  300.            n   is an integer (no decimal point) and means character
  301.                width in 1/120 of an inch (the Word star default)
  302.  
  303.   If you specify the width in 1/120 th inches, Word Fugue assumes
  304.   that the standard character width is 12/120 inches = 1/10 inch or
  305.   10 characters per inch. This later option is only supplied for
  306.   compatibility with Wordstar commands.
  307.  
  308.   For example, the following heading is double width, so you would use
  309.  
  310.      .CW 2.0
  311.      ^WDOUBLE WIDTH^w
  312.      .CW 1.0
  313.  
  314. .tc       On Screen Display ...............................#
  315.   On Screen Display
  316.  
  317.   Since the columns do not display as multiple columns on the screen,
  318.   you need some mechanism for determining where you are in relation to
  319.   the printed output. This is handled in the status line:
  320.  
  321.   For example
  322.  
  323.           Line 40:15  Col 2   Page 5
  324.  
  325.   Page 5 indicates that the screen is displaying page 5 of the file.
  326.   Page number calculation takes into account the number of snaking
  327.   columns defined, so it will be correct.
  328.  
  329.   Col 2 indicates that the current column is number 2 on page 5. The
  330.   column number will reflect the column that the cursor is in
  331.   currently. Col nn will only display if snaking columns is active.
  332.  
  333.   Line 40:15 indicates the cursor is in line 40 of the column, and
  334.   character position 15 from the left edge.
  335.  
  336. .CP6
  337. .tc       Printing Snaking Columns ........................#
  338. .ixNewspaper Columns;
  339. .ixSnaking Columns;
  340.   Printing Snaking Columns
  341.  
  342. .imSnaking Columns
  343. .ix  Printing Delays
  344.   You do not need to do anything special in order to print snaking
  345.   columns of text, simply print the file.
  346.  
  347.   Word Fugue will assemble a complete page in memory, and then send it
  348.   to the printer. Once that page is printed, it will assemble the
  349.   next. This assembly is necessary to ensure that the snaking columns
  350.   snake properly, but it can cause some delays during printing. The
  351.   length of the delay will depend on the speed of your processor and
  352.   the speed of your disk drive, but you will notice a perceptible
  353.   delay before the first page is printed, and that once it has been
  354.   printed, there will be another delay before the next one begins
  355.   printing.
  356.